home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / libtiff / contrib / mac-cw / mac_main.c next >
Encoding:
C/C++ Source or Header  |  1999-09-11  |  378 b   |  21 lines

  1. /*
  2.  *  mac_main.c -- The REAL entry point which
  3.  *   calls the tools main code. For the tools
  4.  *   the symbol "main" has been #defined to "tool_main"
  5.  *   so that this entry point may be used to access
  6.  *   the user-input first.
  7.  */
  8.  
  9. #undef main
  10.  
  11. int
  12. main()
  13. {
  14.     int argc;
  15.     char **argv;
  16.     
  17.     argc=ccommand(&argv);
  18.  
  19.     return tool_main(argc,argv);  // Call the tool "main()" routine
  20. }
  21.